package org.marsdonne.commons;

public class Pojo implements VerifiableSignature {

    private String field1;
    private Integer field2;
    private String factor;
    private String sign;

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public Integer getField2() {
        return field2;
    }

    public void setField2(Integer field2) {
        this.field2 = field2;
    }

    public String getFactor() {
        return factor;
    }

    public void setFactor(String factor) {
        this.factor = factor;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    @Override
    public void keepRandomFactor(String factor) {
        this.factor = factor;
    }

    @Override
    public void keepSign(String signature) {
        this.sign = signature;
    }

    @Override
    public String loadSign() {
        return this.sign;
    }
}
